package com.leilbase.authshiro.auth.entity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Leil
 * @since 2019-07-23
 */
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    private String role;

    private Integer userId;

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Role{" +
            "role=" + role +
            ", userId=" + userId +
        "}";
    }
}
